package com.example.demo.bridge;

/**
 * @Description
 * @Author youxin
 * @Version V1.0.0
 * @Since 1.0
 * @Date 2022/1/11
 */
public abstract class Phone {
    private Brand brand;
   public Phone(Brand brand){
        this.brand=brand;
    }
    public void open(){
       brand.open();
    }
    public void close(){
       brand.close();
    }
    public void call(){
       brand.call();
    }
}
